package com.example.book_recommend.service.impl;

import com.example.book_recommend.pojo.User;
import com.example.book_recommend.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {
//    @Autowired
//    private UserDao userDao;
//
    @Override
    public User userLogin(User user) {
//        user = userDao.userLogin(user.getUsername(), user.getPassword());
        return user;
    }
}

